package testCase;

import com.imagotag.test.Conditions;
import com.imagotag.test.LabelIdProvider;
import com.imagotag.test.TestBuilder;
import com.imagotag.test.enums.LabelCounter;

import java.util.concurrent.TimeUnit;

/**
 * @projectName: bigScaleLoadTest
 * @className: Application
 * @description:
 * @author: JLONG
 * @date: 2024/11/13 16:06
 * @version: 1.0
 */
public class Application {

    public static void main(String[] args) {

        // 选择价签
        LabelIdProvider labelIdProvider = TestConfig.allLabels;

        // 创建测试生成器
        TestBuilder testBuilder = TestConfig.getTestBuilder("BST-imageLoad", "0", false);

        // 添加测试步骤
        Fun_basicTest.imageLoad(testBuilder, labelIdProvider);
//        Fun_extendTest.cycleTask(testBuilder, labelIdProvider);

        // 执行测试
         try {
            testBuilder.run(TestConfig.serviceUrl);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }

    }

}
